package com.it.text;

import java.util.Scanner;

public class StringText04 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);

        System.out.println("请输入一个字符串:");
        String str=sc.nextLine();

        String result = str.replace("TMD","***");
        System.out.println(result);




    }
}
